import {defineStore} from "pinia";

export type UIConfig = {
    showLogo: boolean;
    showConfigUI: boolean;
}

export const useConfigStore = defineStore("uiConfig", {
    state: ():UIConfig => ({
        showLogo: false,
        showConfigUI: false
    }),
    actions: {
        setLogo(show: boolean){
            this.showLogo = show
        },
        setConfigUI(show:boolean){
            this.showConfigUI = show
        },
    },
    persist: true
})